package com.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class VideoView implements Serializable {
    //主键id
    @TableId(type = IdType.AUTO)
    private Long id;
    //视频id
    private Long videoId;
    //观看用户id
    private Long userId;

    //客户端id = 操作系统 + 浏览器，这两个参数组合成一个唯一的值
    private String clientId;

    //ip地址
    private String ip;

    private Date createTime;

}
